package org.db2.project.airline.utils;

/**
 *
 */
public final class Utils {

    private Utils() {
        // empty constructor
    }

    public static String capitalize(String name) {

        if (name == null && name.length() == 0) {

            return name;
        }

        String lowerCase = name.toLowerCase();

        return Character.toUpperCase(lowerCase.charAt(0)) + lowerCase.substring(1);
    }
}
